package com.general.framework.service;

import com.general.framework.entity.Menu;
import com.general.framework.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MenuService {
    List<Menu> findAll();
    void save(Menu menu);
    void update(Menu menu);
    void deleteById(Long id);
    List<String> getPermissionsByUserId(Long id);
}